package com.swjd.sell.contorller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 刘涛
 * @create 2021/9/6 23:42
 */
@RestController
@RequestMapping("/wechat")
@Slf4j
public class WechatController {
@GetMapping("/authorize")
    public String authorize(@RequestParam("returnUrl")String returnUrl){
    System.out.println(returnUrl+">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
    return "123456";
}
}
